upgrade all dependencies to latest - #1164
Merged
Merged
Conversation
Updates every dependency and devDependency across the workspace
(~106 packages), and adapts the code where upgrades were breaking.
Breaking changes handled:
- pako 3 dropped its default export and the `{to:"string"}` inflate
option; use named imports and TextDecoder.
- @types/hast 3.0.5 replaced the permissive index signature with a
precise Properties type: `rel`/`sandbox` are now string arrays and
typed props no longer accept null. Serialized HTML is unchanged.
- archiver 8 removed the callable factory in favour of named archive
classes (`new ZipArchive(...)`).
- TypeScript 6 no longer auto-includes every @types package, so they
are listed explicitly; `export module` became `export namespace`.
- ESLint 10 only reads flat config; .eslintrc.json is migrated to
eslint.config.mjs.
- chalk 6 and got 15 ship exports-only manifests that node10
resolution cannot read, so hyperbook maps them to their directory.
TypeScript is pinned to 6.0.3 rather than 7.0.2: TypeScript 7 is the
native port and no longer exposes the JS compiler API, which breaks
ts-loader, @rollup/plugin-typescript and typescript-eslint.
Also switches moduleResolution to "bundler", which fixes the lint
failures that were already present on main, and drops the deprecated
@types/tar, @types/glob and @types/pako stubs.
hyperbook-studio now requires VS Code 1.125.0 to match @types/vscode.
Vite 8 warns about configs it cannot load natively, so hyperbook's
vite.config.ts is renamed to .mts (the package stays CommonJS for the
ncc build) and the excalidraw component's config uses
import.meta.dirname instead of __dirname.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates every dependency and devDependency across the workspace (~106 packages), and adapts the code where upgrades were breaking.
Breaking changes handled:
{to:"string"}inflate option; use named imports and TextDecoder.rel/sandboxare now string arrays and typed props no longer accept null. Serialized HTML is unchanged.new ZipArchive(...)).export modulebecameexport namespace.TypeScript is pinned to 6.0.3 rather than 7.0.2: TypeScript 7 is the native port and no longer exposes the JS compiler API, which breaks ts-loader, @rollup/plugin-typescript and typescript-eslint.
Also switches moduleResolution to "bundler", which fixes the lint failures that were already present on main, and drops the deprecated @types/tar, @types/glob and @types/pako stubs.
hyperbook-studio now requires VS Code 1.125.0 to match @types/vscode.
Vite 8 warns about configs it cannot load natively, so hyperbook's vite.config.ts is renamed to .mts (the package stays CommonJS for the ncc build) and the excalidraw component's config uses import.meta.dirname instead of __dirname.